package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_activity_xiayue_search")
public class LogXiaYueSearch {

    @FieldTypeAnnotation(desc = "活动ID")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID")
    private long userId;
    @FieldTypeAnnotation(desc = "地点ID")
    private int placeId;
    @FieldTypeAnnotation(desc = "动物ID")
    private int animalId;
    @FieldTypeAnnotation(desc = "品质")
    private int quality;
    @FieldTypeAnnotation(desc = "抽完后没中保底次数")
    private int commonTimes;
    @FieldTypeAnnotation(desc = "时间")
    private Date time;

    public LogXiaYueSearch(int activityId, long userId, int placeId, int animalId, int quality, int commonTimes) {
        this.activityId = activityId;
        this.userId = userId;
        this.placeId = placeId;
        this.animalId = animalId;
        this.quality = quality;
        this.commonTimes = commonTimes;
        this.time = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getPlaceId() {
        return placeId;
    }

    public void setPlaceId(int placeId) {
        this.placeId = placeId;
    }

    public int getAnimalId() {
        return animalId;
    }

    public void setAnimalId(int animalId) {
        this.animalId = animalId;
    }

    public int getQuality() {
        return quality;
    }

    public void setQuality(int quality) {
        this.quality = quality;
    }

    public int getCommonTimes() {
        return commonTimes;
    }

    public void setCommonTimes(int commonTimes) {
        this.commonTimes = commonTimes;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
